// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
const apiPrefix = '/web';

/** 日电价差收益列表 GET /v2/statistic/income/day */
export async function statisticIncomeV2ControllerDayReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerDayReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticIncomeDTO>(
    `${apiPrefix}/v2/statistic/income/day`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 日电价差收益图表 GET /v2/statistic/income/day/graph */
export async function statisticIncomeV2ControllerDayReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerDayReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(`${apiPrefix}/v2/statistic/income/day/graph`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 储能成本-日电价差收益列表 GET /v2/statistic/income/es-cost/day */
export async function statisticIncomeV2ControllerEsCostDayReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsCostDayReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticDayIncome>(
    `${apiPrefix}/v2/statistic/income/es-cost/day`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 储能成本-日电价差收益图表 GET /v2/statistic/income/es-cost/day/graph */
export async function statisticIncomeV2ControllerEsCostDayReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsCostDayReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(`${apiPrefix}/v2/statistic/income/es-cost/day/graph`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 储能成本-月电价差收益列表 GET /v2/statistic/income/es-cost/month */
export async function statisticIncomeV2ControllerEsCostMonthReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsCostMonthReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticMonthIncome>(
    `${apiPrefix}/v2/statistic/income/es-cost/month`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 储能成本-月电价差收益图表 GET /v2/statistic/income/es-cost/month/graph */
export async function statisticIncomeV2ControllerEsCostMonthReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsCostMonthReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(`${apiPrefix}/v2/statistic/income/es-cost/month/graph`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 储能成本-年电价差收益列表 GET /v2/statistic/income/es-cost/year */
export async function statisticIncomeV2ControllerEsCostYearReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsCostYearReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticYearIncome>(
    `${apiPrefix}/v2/statistic/income/es-cost/year`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 储能成本-年电价差收益图表 GET /v2/statistic/income/es-cost/year/graph */
export async function statisticIncomeV2ControllerEsCostYearReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsCostYearReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(`${apiPrefix}/v2/statistic/income/es-cost/year/graph`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 储能收入-日电价差收益列表 GET /v2/statistic/income/es-revenue/day */
export async function statisticIncomeV2ControllerEsRevenueDayReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsRevenueDayReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticDayIncome>(
    `${apiPrefix}/v2/statistic/income/es-revenue/day`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 储能收入-日电价差收益图表 GET /v2/statistic/income/es-revenue/day/graph */
export async function statisticIncomeV2ControllerEsRevenueDayReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsRevenueDayReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(
    `${apiPrefix}/v2/statistic/income/es-revenue/day/graph`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 储能收入-月电价差收益列表 GET /v2/statistic/income/es-revenue/month */
export async function statisticIncomeV2ControllerEsRevenueMonthReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsRevenueMonthReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticMonthIncome>(
    `${apiPrefix}/v2/statistic/income/es-revenue/month`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 储能收入-月电价差收益图表 GET /v2/statistic/income/es-revenue/month/graph */
export async function statisticIncomeV2ControllerEsRevenueMonthReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsRevenueMonthReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(
    `${apiPrefix}/v2/statistic/income/es-revenue/month/graph`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 储能收入-年电价差收益列表 GET /v2/statistic/income/es-revenue/year */
export async function statisticIncomeV2ControllerEsRevenueYearReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsRevenueYearReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticYearIncome>(
    `${apiPrefix}/v2/statistic/income/es-revenue/year`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 储能收入-年电价差收益图表 GET /v2/statistic/income/es-revenue/year/graph */
export async function statisticIncomeV2ControllerEsRevenueYearReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerEsRevenueYearReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(
    `${apiPrefix}/v2/statistic/income/es-revenue/year/graph`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 导出电价差收益报表 GET /v2/statistic/income/export */
export async function statisticIncomeV2ControllerExportReport(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerExportReportParams,
  options?: { [key: string]: any },
) {
  return request<any>(`${apiPrefix}/v2/statistic/income/export`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 月电价差收益列表 GET /v2/statistic/income/month */
export async function statisticIncomeV2ControllerMonthReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerMonthReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticIncomeDTO>(
    `${apiPrefix}/v2/statistic/income/month`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 月电价差收益图表 GET /v2/statistic/income/month/graph */
export async function statisticIncomeV2ControllerMonthReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerMonthReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(`${apiPrefix}/v2/statistic/income/month/graph`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 光伏成本-日电价差收益图表 GET /v2/statistic/income/pv-cost/day/graph */
export async function statisticIncomeV2ControllerPvCostDayReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerPvCostDayReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(`${apiPrefix}/v2/statistic/income/pv-cost/day/graph`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 光伏成本-月电价差收益图表 GET /v2/statistic/income/pv-cost/month/graph */
export async function statisticIncomeV2ControllerPvCostMonthReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerPvCostMonthReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(`${apiPrefix}/v2/statistic/income/pv-cost/month/graph`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 光伏成本-年电价差收益图表 GET /v2/statistic/income/pv-cost/year/graph */
export async function statisticIncomeV2ControllerPvCostYearReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerPvCostYearReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(`${apiPrefix}/v2/statistic/income/pv-cost/year/graph`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 光伏收入-日电价差收益列表 GET /v2/statistic/income/pv-revenue/day */
export async function statisticIncomeV2ControllerPvRevenueDayReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerPvRevenueDayReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticPvIncome>(
    `${apiPrefix}/v2/statistic/income/pv-revenue/day`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 光伏收入-日电价差收益图表 GET /v2/statistic/income/pv-revenue/day/graph */
export async function statisticIncomeV2ControllerPvRevenueDayReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerPvRevenueDayReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(
    `${apiPrefix}/v2/statistic/income/pv-revenue/day/graph`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 光伏收入-月电价差收益列表 GET /v2/statistic/income/pv-revenue/month */
export async function statisticIncomeV2ControllerPvRevenueMonthReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerPvRevenueMonthReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticPvIncome>(
    `${apiPrefix}/v2/statistic/income/pv-revenue/month`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 光伏收入-月电价差收益图表 GET /v2/statistic/income/pv-revenue/month/graph */
export async function statisticIncomeV2ControllerPvRevenueMonthReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerPvRevenueMonthReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(
    `${apiPrefix}/v2/statistic/income/pv-revenue/month/graph`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 光伏收入-年电价差收益列表 GET /v2/statistic/income/pv-revenue/year */
export async function statisticIncomeV2ControllerPvRevenueYearReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerPvRevenueYearReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticPvIncome>(
    `${apiPrefix}/v2/statistic/income/pv-revenue/year`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 光伏收入-年电价差收益图表 GET /v2/statistic/income/pv-revenue/year/graph */
export async function statisticIncomeV2ControllerPvRevenueYearReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerPvRevenueYearReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(
    `${apiPrefix}/v2/statistic/income/pv-revenue/year/graph`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 年电价差收益列表 GET /v2/statistic/income/year */
export async function statisticIncomeV2ControllerYearReportList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerYearReportListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStatisticIncomeVOStatisticIncomeDTO>(
    `${apiPrefix}/v2/statistic/income/year`,
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** 年电价差收益图表 GET /v2/statistic/income/year/graph */
export async function statisticIncomeV2ControllerYearReportGraph(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticIncomeV2ControllerYearReportGraphParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultReportTable>(`${apiPrefix}/v2/statistic/income/year/graph`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
